package bean;

import org.springframework.boot.context.properties.ConfigurationProperties;
//yaml application.yml 配置文件读取
@ConfigurationProperties(prefix = "com.yml")
public class YamlBean {

	private String name;
	private String password;
	private String nickname;
	private String value;
	private Integer number;
	private Long bignumber;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Long getBignumber() {
		return bignumber;
	}
	public void setBignumber(Long bignumber) {
		this.bignumber = bignumber;
	}
	@Override
	public String toString() {
		return "YamlBean [name=" + name + ", password=" + password + ", nickname=" + nickname + ", value=" + value
				+ ", number=" + number + ", bignumber=" + bignumber + "]";
	}
	
	
}
